namespace Radius.NET.Application;

/// <summary>
/// 系统菜单表种子数据
/// </summary>
public class SysMenuSeedData : ISqlSugarEntitySeedData<SysMenu>
{
    /// <summary>
    /// 种子数据
    /// </summary>
    /// <returns></returns>
    [IgnoreUpdate]
    public IEnumerable<SysMenu> HasData()
    {
        return new[]
        {
            //外部接口菜单
            new SysMenu{ Id=354951535436101, Pid=0, Title="外部接口", Path="/external-api", Name="外部接口", Component="", Redirect="", Icon="ApiOutlined", Type=MenuTypeEnum.Dir, CreateTime=DateTime.Parse("2022-02-10 00:00:00"), OrderNo=500 },
            new SysMenu{ Id=354946909684037, Pid=354951535436101, Title="接口清单", Path="/external-api/list", Name="接口清单", Component="/system/external-api", Icon="BarsOutlined", Type=MenuTypeEnum.Menu, CreateTime=DateTime.Parse("2022-02-10 00:00:00"), OrderNo=100 },
            new SysMenu{ Id=354952246722885, Pid=354951535436101, Title="接口配置", Path="/external-api/config", Name="接口配置", Component="/system/external-api/config", Icon="ControlOutlined", Type=MenuTypeEnum.Menu, CreateTime=DateTime.Parse("2022-02-10 00:00:00"), OrderNo=100 },

        };
    }
}